package com.fuxian.service;

import java.util.List;
import java.util.Map;

import com.fuxian.model.Notice;

public interface NoticeService {

	
	public abstract void addNotice(Notice notice);
	public abstract void deleteNoticeById(int id);
	public abstract void modifyNotice(Notice notice);
	public abstract Notice selectNoticeById(int id);
	public abstract List<Notice> selectNoticeByAuthor(Map map);
	public abstract List<Notice>selectNoticeByCreatetime(Map map);
	public abstract List<Notice> selectAllNotice(int start,int size);
	public abstract int selectCount();
}
